<template>
    <div class="titlebar">
          <div class="bar">
               <p @click="$router.back()"><</p>
               <p>
                <slot name="bar"></slot>
               </p>
               <p></p>
          </div>
    </div>
</template>

<script>
export default {

}
</script>

<style lang="scss" scoped>
.titlebar{
    background-color: #6da2ef;
    color: #fff;
    width: 100vw;
    height: 144px;
    font-size: 20px;
    .bar{
        line-height: 63px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        P:first-child{
            margin-left: 30px;
        }
    }
}
</style>
